<div class="panel panel-default panel-intro">

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">



                    <div class="fixed-table-toolbar">
                        <div class="bs-bars pull-left">
                            <div id="toolbar" class="toolbar">
                                <a href="javascript:;" class="btn btn-primary btn-refresh" title="刷新"><i class="fa fa-refresh"></i> </a>
                                <a href="javascript:;" class="btn btn-success btn-add" title="添加"><i class="fa fa-plus"></i> 添加</a>
                                <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled" title="删除"><i class="fa fa-trash"></i> 删除</a>
                            </div>
                        </div>
                        <div class="columns-right pull-right" style="margin-top:10px;margin-bottom:10px;">
                            <button class="btn btn-default" type="button" name="commonSearch" title="普通搜索"><i class="glyphicon glyphicon-search"></i></button>
                        </div>
                        <div class="columns columns-right btn-group pull-right">
                            <button class="btn btn-default" type="button" name="toggle" aria-label="toggle" title="切换">
                                <i class="glyphicon glyphicon-list-alt icon-list-alt"></i></button>
                            <div class="keep-open btn-group" title="列">
                                <button type="button" aria-label="columns" class="btn btn-default dropdown-toggle"
                                        data-toggle="dropdown"><i class="glyphicon glyphicon-th icon-th"></i> <span
                                        class="caret"></span></button>
                                <ul class="dropdown-menu" role="menu">
                                    <li role="menuitem"><label><input type="checkbox" data-field="id" value="1"
                                                                      checked="checked"> ID</label></li>
                                    <li role="menuitem"><label><input type="checkbox" data-field="username" value="2"
                                                                      checked="checked"> 用户名</label></li>
                                    <li role="menuitem"><label><input type="checkbox" data-field="nickname" value="3"
                                                                      checked="checked"> 昵称</label></li>
                                    <li role="menuitem"><label><input type="checkbox" data-field="groups_text" value="4"
                                                                      checked="checked"> 角色组</label></li>
                                    <li role="menuitem"><label><input type="checkbox" data-field="email" value="5"
                                                                      checked="checked"> Email</label></li>
                                    <li role="menuitem"><label><input type="checkbox" data-field="status" value="6"
                                                                      checked="checked"> 状态</label></li>
                                    <li role="menuitem"><label><input type="checkbox" data-field="logintime" value="7"
                                                                      checked="checked"> Login time</label></li>
                                    <li role="menuitem"><label><input type="checkbox" data-field="operate" value="8"
                                                                      checked="checked"> 操作</label></li>
                                </ul>
                            </div>

                        </div>
                        <div class="pull-right search"><input class="form-control" type="text" placeholder="搜索"></div>
                    </div>


                    <table id="table" class="table table-striped table-bordered table-hover"
                           data-operate-edit="{:$auth->check('designer/edit')}"
                           data-operate-del="{:$auth->check('designer/del')}"
                           width="100%">

                        <tr>
                            <td>
                                <div class="th-inner "><input name="btSelectAll" type="checkbox"></div>
                                <div class="fht-cell"></div>
                            </td>
                            <td>ID</td>
                            <td>账号</td>
                            <td>姓名</td>
                            <td>Email</td>
                            <td>状态</td>
                            <td>最后登录时间</td>
                            <td>操作</td>
                        </tr>

                        {foreach name="designers" item="vo"}
                        <tr>
                            <td><input data-index="{$vo.id}" value="{$vo.id}" name="btSelectItem" type="checkbox"></td>
                            <td>{$vo.id}</td>
                            <td>{$vo.username}</td>
                            <td>{$vo.nickname}</td>
                            <td>{$vo.email}</td>
                            <td>{$vo.status}</td>
                            <td>{$vo.logintime|date="Y-m-d H:i:s",###}</td>
                            <td>
                                <a href="javascript:layer.open('http://baidu.com');"
                                   class="btn btn-xs btn-success btn-editone" data-toggle="tooltip" title=""
                                   data-table-id="table" data-field-index="9" data-row-index="13" data-button-index="1"
                                   data-original-title="Edit"><i class="fa fa-pencil"></i></a>
                                <a href="javascript:;" class="btn btn-xs btn-danger btn-delone" data-toggle="tooltip"
                                   title="Del" data-table-id="table" data-field-index="9" data-row-index="13"
                                   data-button-index="2"><i class="fa fa-trash"></i></a>
                            </td>
                        </tr>
                        {/foreach}
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>


<script>
    $('.btn-add').click(function(){
        alert(11111111);
    })
</script>